package com.aliyun.messagemgt.entities;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 短信配额返回参数VO
 *
 * @author byp
 * @date 2020/7/13
 */
@Data
public class SmsQuotaMsgSourceEntity {

    @ApiModelProperty(value = "短信配额id")
    private Integer smsQuotaId;
    @ApiModelProperty(value = "消息源UUID")
    private String sourceCode;
    @ApiModelProperty(value = "消息源名称")
    private String msgSourceName;
    @ApiModelProperty(value = "渠道名称")
    private String pushChannelName;
    @ApiModelProperty(value = "归属部门编码")
    private String ownerDept;
    @ApiModelProperty(value = "归属部门名称")
    private String ownerDeptName;
    @ApiModelProperty(value = "管理员")
    private String owner;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 消息源的审核状态 2未提交 0 未审核 -1 审核未通过 1 审核通过
     */
    @ApiModelProperty(value = "发布状态")
    private Integer auditStatus;
    @ApiModelProperty(value = "短信配额总量（列表页）")
    private Integer quotaCount;
    @ApiModelProperty(value = "当前使用配额")
    private Integer usedQuota;
    @ApiModelProperty(value = "当月使用配额")
    private Integer monthUsedQuota;
    @ApiModelProperty(value = "当前续订总额")
    private Integer renewQuota;
    @ApiModelProperty(value = "当月续订总额")
    private Integer monthRenewQuota;

    @ApiModelProperty(value = "短信配额主类")
    private SmsQuotaEntity smsQuota;


}
